﻿using System;
using System.Collections.Generic;
using System.Windows;
using MsmqView.Core.Messaging;
using MsmqView.UI.EventArgs;

namespace MsmqView.UI.Views
{
	public interface IMsmqViewMainView
	{
		event RoutedEventHandler Loaded;
		event EventHandler<MachineSelectedEventArgs> MachineSelected;
		event EventHandler<QueueSelectedEventArgs> QueueSelected;
		event EventHandler<MessageSelectedEventArgs> MessageSelected;

		void DisplayError(string errorMessage);
		void DisplayMachineName(string machineName);
		void DisplayQueues(IEnumerable<QueueName> queueNames);
		void DisplayMessages(IEnumerable<MessageIdentifier> messageIdentifiers);
		void DisplayMessageBody(string messageBody);
	}
}
